package com.prs.crm.domain.personalset;

import java.io.File;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.Cascade;

import com.prs.crm.domain.Attachment;
import com.prs.crm.domain.BaseEntity;

/**
 * 
 * @author Yanghao
 *	2012-7-26 15:50:06 天气预报默认城市选择
 */
@Entity
@Table(name="ps_defaultcityset")
public class DefaultCitySet extends BaseEntity{

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	@ManyToOne
	private DefaultProvince defaultProvince; 
	@ManyToOne
	private DefaultCity defaultCity;
	private String type;
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public DefaultProvince getDefaultProvince() {
		return defaultProvince;
	}
	public void setDefaultProvince(DefaultProvince defaultProvince) {
		this.defaultProvince = defaultProvince;
	}
	public DefaultCity getDefaultCity() {
		return defaultCity;
	}
	public void setDefaultCity(DefaultCity defaultCity) {
		this.defaultCity = defaultCity;
	}
}
